/* 引入的通用样式 */

@import url(./normalize.css);

/* 设置基本样式   start */

body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
    color: #000;
    background: #f2f2f2;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

a {
    text-decoration: none;
    color: #000;
}

ul,
li {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* 设置基本样式   end */


/* search start */

.search-index {
    max-width: 540px;
    min-width: 320px;
    /* background-color: pink; */
    display: flex;
    /* 设置顶部 */
    position: fixed;
    height: 44px;
    width: 100%;
    /* 设置上下边距 */
    background-color: #F6F6F6;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.search {
    flex: 1;
    padding: 12px;
    padding-right: 0;
    /* margin-right: 10px; */
    position: relative;
}

.search::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 16px;
    width: 16px;
    height: 16px;
    background: url(../images/sprite.png) no-repeat -60px -279px;
}

.search .search-text {
    width: 93%;
    height: 100%;
    padding-left: 18px;
    color: #666;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
}

.search-index .user {
    width: 44px;
    height: 44px;
    /* flex: 1; */
    /* background-color: aqua; */
    text-align: center;
    color: #2eaae0;
}

.search-index .user::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    margin: 2px auto -2px;
    background: url(../images/sprite.png) no-repeat -59px -194px;
}


/* search end */


/* focus start */

.focus {
    /* height: 64px; */
    /* width: 100%; */
    padding-top: 44px;
}

.focus img {
    width: 100%;
}


/* focus end */


/* local-nav start */

.local-nav {
    height: 64px;
    background-color: #fff;
    margin: 8px 4px;
    display: flex;
    border-radius: 5px;
}

.local-nav li {
    flex: 1;
    /* background-color: pink; */
}

.local-nav li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    font-size: 18px;
}

.local-nav li a span[class^="local-nav-icon"] {
    width: 32px;
    height: 32px;
    /* background-color: pink; */
    background-size: 32px auto;
}

.local-nav li a .local-nav-icon-icon1 {
    background: url(../images/localnav_bg.png) no-repeat 0 0;
}

.local-nav li a .local-nav-icon-icon2 {
    background: url(../images/localnav_bg.png) no-repeat 0 -32px;
}

.local-nav li a .local-nav-icon-icon3 {
    background: url(../images/localnav_bg.png) no-repeat 0 -64px;
}

.local-nav li a .local-nav-icon-icon4 {
    background: url(../images/localnav_bg.png) no-repeat 0 -128px;
}


/* local-nav end */


/* nav start */

nav {
    border-radius: 10px;
    overflow: hidden;
}

nav .nav-common:nth-child(2) {
    margin: 5px 0;
}

nav .nav-common {
    height: 88px;
    background: pink;
    display: flex;
}

.nav-items {
    flex: 1;
    display: flex;
    flex-direction: column;
}


/* 设置中间的间距 */


/* .nav-items:nth-child(-n+2) {
    border-right: 1px solid #fff;
} */

.nav-items:nth-child(2) {
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
}

.nav-items:nth-child(1) {
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px;
}

.nav-items a {
    flex: 1;
    text-align: center;
    line-height: 44px;
    color: #fff;
}

.nav-items a:nth-child(2) {
    border-top: 1px solid #fff;
}


/* 设置背景颜色 */

.nav-common:nth-child(1) {
    background: -webkit-linear-gradient(left, #FA5A55, #FA994D);
}

.nav-common:nth-child(2) {
    background: -webkit-linear-gradient(left, #4B90ED, #53BCED);
}

.nav-common:nth-child(3) {
    background: -webkit-linear-gradient(left, #34C2A9, #6CD559);
}


/* nav end */


/* 测边导航栏  start */

.subnav-entry {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border-radius: 10px;
}

.subnav-entry li {
    flex-basis: 20%;
}

.subnav-entry li a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subnav-entry-icon {
    width: 43px;
    height: 43px;
    margin-top: 10px;
    background-color: #FA5A55;
    background: url(../images/subnav-bg.png) no-repeat;
}


/* 测边导航栏  end */


/* 销售模块 start */

.sales-box {
    /* display: flex;
    flex-wrap: wrap; */
    margin-bottom: 25px;
}

.sales-hd {
    /* flex-basis: 100%; */
    /* display: flex;
    justify-content: space-between;
    align-items: center; */
    margin: 5px 0;
    padding: 0 10px;
    background-color: #fff;
    position: relative;
    height: 52px;
}

.sales-hd h2 {
    position: relative;
    text-indent: -999px;
    overflow: hidden;
}

.sales-hd h2::after {
    position: absolute;
    top: 15px;
    left: 8px;
    content: "";
    width: 79px;
    height: 15px;
    background: url(../images/hot.png) no-repeat 0 -20px;
    background-size: 79px auto;
    /* background-color: #2eaae0; */
}

.sales-hd a {
    color: #fff;
    background: -webkit-linear-gradient(left, #FF506C, #FF6BC6);
    border-radius: 15px;
    padding: 3px 20px 3px 10px;
    position: relative;
    position: absolute;
    right: 8px;
    top: 15px;
}

.sales-hd a::after {
    content: "";
    position: absolute;
    top: 9px;
    right: 9px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
}

.sales-bd {
    flex-basis: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.sales-bd a {
    flex: 1;
}

.sales-bd a img {
    width: 100%;
}


/* 销售模块 end */


/* foot  start */

.foot {
    display: flex;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #fff;
    padding-top: 5px;
    max-width: 540px;
    min-width: 320px;
}

.foot li {
    flex: 1;
    /* height: 60px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.foot li [class^="foot-icon"] {
    width: 20px;
    height: 20px;
    /* background-color: #2eaae0; */
}

.foot-icon-icon1 {
    background: url(../images/sprite.png) no-repeat -60px -152px;
}

.foot-icon-icon2 {
    background: url(../images/sprite.png) no-repeat -60px -172px;
}

.foot-icon-icon3 {
    background: url(../images/sprite.png) no-repeat -60px -310px;
}


/* foot  end */